package com.larry.resend.hp;

import com.larry.resend.common.CommonSender;

public class HpEdiResender {

	private final String MESSAGE_TYPE = MessageType.T03.toString();

	private CommonSender processor;

	public static void main(String[] args) throws Exception {
		HpEdiResender resender = new HpEdiResender();
		String[] list = { "BDTN425002", "BDXP495501", "BDXT810901", "BDXV524101", "BDXW171001", "BDXW294701", "BDXW701601", "BDXX101301", "BDXX145901", "BDXX444001", "BDXX681901", "BDXY456601", "BDXY473301", "BDXY687001", "BDXY712301", "BDXY939101", "BDXZ012701", "BDXZ050101", "BDZB270301", "BDZC243001", "BDXL601401", "BDXT068201", "BDXT787403", "BDXW826601", "BDXX095801", "BDXX118601", "BDXX277301", "BDXY145701", "BDXY442001", "BDXY708101", "BDXY983801", "BDXZ084501", "BDXZ531301",
				"BDXZ587901", "BDXZ600701", "BDZB306801", "BDZB479301", "BDZB854401", "BDZC795901", "BDTM535602", "BDVD178802", "BDVZ923703", "BDXJ373301", "BDXM160101", "BDXM957401", "BDXN331401", "BDXP464201", "BDXV397301", "BDXV644301", "BDXW317001", "BDXW411901", "BDXW999401", "BDXX193001", "BDXX781601", "BDXX841801", "BDXY496401", "BDXZ125201", "BDXZ281601", "BDXZ416601", "BDZB110901", "BDZB779201", "BDZC417901", "BDZC672801", "BDZD170001", "BDXK138402", "BDXV115601", "BDXZ206101",
				"BDZD230101", "BDVN489101", "BDXD568001", "BDXG699901", "BDXH613701", "BDXJ739201", "BDXM118601", "BDXP112202", "BDXT873801", "BDXT905501", "BDXW283801", "BDXW374601", "BDXW385001", "BDXW826901", "BDXW866201", "BDXX097601", "BDXX408701", "BDXX583001", "BDXX760201", "BDXX777401", "BDXX779701", "BDXY116601", "BDXY247901", "BDXY343301", "BDXY479601", "BDXY584301", "BDXY713101", "BDXY722701", "BDXY763801", "BDXY772201", "BDXY866101", "BDXY953101", "BDXZ047701", "BDXZ118801",
				"BDXZ282301", "BDXZ470901", "BDXZ473201", "BDXZ497001", "BDXZ576701", "BDXZ621201", "BDXZ687601", "BDXZ932701", "BDZB002801", "BDZB245801", "BDZB279201", "BDZB582301", "BDZB583001", "BDZC193701", "BDZC277801", "BDZC352202", "BDVN490601", "BDVT213701", "BDXQ032201", "BDXS460701", "BDXS649101", "BDXT478201", "BDXT899401", "BDXV164601", "BDXV965701", "BDXW116501", "BDXW834801", "BDXX013501", "BDXX016501", "BDXX033901", "BDXY143001", "BDXY337501", "BDXY480501", "BDXY575601",
				"BDXY588701", "BDXY742101", "BDXY947801", "BDXZ094101", "BDXZ127501", "BDXZ443501", "BDXZ587501", "BDXZ593801", "BDXZ658001", "BDXZ781901", "BDXZ924901", "BDZB031101", "BDZB444701", "BDZB451301", "BDZB475301", "BDZB497001", "BDZC058901", "BDZC412901", "BDRM463402", "BDVT818301", "BDXN889901", "BDXP074701", "BDXV010001", "BDXV537401", "BDXV997201", "BDXW406401", "BDXW538001", "BDXW830001", "BDXX007301", "BDXX143701", "BDXX147301", "BDXX286401", "BDXX330601", "BDXX360201",
				"BDXX407001", "BDXX601801", "BDXX700301", "BDXX709901", "BDXX730001", "BDXX890101", "BDXX988101", "BDXX996101", "BDXY027101", "BDXY044601", "BDXY152301", "BDXY184301", "BDXY528201", "BDXY673201", "BDXY683301", "BDXY810901", "BDXY876901", "BDXY878601", "BDXY883901", "BDXY999601", "BDXZ118401", "BDXZ142001", "BDXZ228501", "BDXZ426201", "BDXZ605901", "BDXZ779801", "BDXZ802101", "BDXZ928401", "BDZB006501", "BDZB087401", "BDZB378401", "BDZB514401", "BDZB630301", "BDZB674501",
				"BDZB691001", "BDZC074301", "BDZC175501", "BDZC386401", "BDZC402601", "BDZC533101", "BDZC653401", "BDZD162601", "BDZF152001", "BDXR457101", "BDXS773301", "BDXS776101", "BDXT088301", "BDXT194501", "BDXT691601", "BDXV033001", "BDXV218302", "BDXW071601", "BDXW129601", "BDXW168901", "BDXW683101", "BDXX017001", "BDXX597601", "BDXX733001", "BDXX752001", "BDXX850401", "BDXY231701", "BDXY262101", "BDXY350501", "BDXY366701", "BDXY499001", "BDXY836201", "BDXY841201", "BDXY930101",
				"BDXZ207801", "BDXZ274001", "BDXZ326301", "BDXZ435201", "BDXZ466601", "BDXZ597201", "BDXZ610601", "BDXZ898301", "BDZB080201", "BDZB280001", "BDZB816001", "BDZB843101", "BDZB871601", "BDZC224101", "BDZC344301", "BDZC433001", "BDZC564801", "BDZC640601", "BDZC788901", "BDZF165701", "BDXD329101", "BDXD460301", "BDXG748401", "BDXQ764301", "BDXS437901", "BDXS969001", "BDXT171901", "BDXT210601", "BDXT314401", "BDXT413101", "BDXT548901", "BDXT840301", "BDXV120701", "BDXV800301",
				"BDXV808601", "BDXV896701", "BDXV961101", "BDXV993001", "BDXW284201", "BDXW379801", "BDXW921701", "BDXX079201", "BDXX178201", "BDXX348501", "BDXX524701", "BDXX874301", "BDXY055301", "BDXY079301", "BDXY208401", "BDXY226401", "BDXY243701", "BDXY337901", "BDXY342401", "BDXY517701", "BDXY611101", "BDXY685401", "BDXY757101", "BDXY767901", "BDXY773601", "BDXY775401", "BDXY825101", "BDXY941601", "BDXZ128501", "BDXZ268201", "BDXZ281101", "BDXZ289701", "BDXZ308501", "BDXZ421901",
				"BDXZ453901", "BDXZ636801", "BDXZ943001", "BDXZ951701", "BDZB006201", "BDZB067501", "BDZB207001", "BDZB384101", "BDZB502101", "BDZB700401", "BDZB710301", "BDZB729201", "BDZB821501", "BDZC072701", "BDZC188701", "BDZC231801", "BDZC308501", "BDZC373101", "BDZC408501", "BDZC450301", "BDZC519501", "BDZC635401", "BDZC793201", "BDZC804101", };
		for (String serviceOrderId : list) {
			resender.process(serviceOrderId);
		}
	}

	public void process(String serviceOrderId) throws Exception {
		processor = MessageType.valueOf(MESSAGE_TYPE).getProcessor();
		processor.process(serviceOrderId);
	}
}
